import sqlite3  

conn = sqlite3.connect('../code/users.db')
cursor = conn.cursor()  

        
# # 执行查询语句  
cursor.execute('SELECT * FROM users')  

results = cursor.fetchall()  
for row in results:  
    print(row)  
  
# 关闭数据库连接  
conn.close()